package com.wen.spring.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

/**
 * @Author: CuiBoWen
 * @DateTime: 2021/7/8 2:33 下午
 * @Description: TODO
 */
@Component
public class QuartzDemo implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("使用quartz定时任务框架");
    }
}
